#! /bin/bash

echo 'package pl.puntin.punclient.messages;'
echo class MessageTypes
echo {
sed -e 's/#define[ \t]\?\([A-Z_]*\)[ \t]*\([0-9]*\)/\tpublic static final byte \1 = \2;/' -e 's/#pragma[ \t]\?once//'
echo }
